class Person:
    def __init__(self, name, dept='研发', p_email='', p_idCard=''):
        self.name = name
        self.dept = dept
        self.email = p_email
        self.idCard = p_idCard
    
    def __str__(self):
        return '姓名: {}, 部门: {}'.format(self.name, self.dept)

zs = Person('张三')
zs1 = Person('张三')
print(zs == zs1)